package com.bst.md.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bst.common.annotation.Excel;
import com.bst.common.core.domain.BaseEntity;

/**
 * 指标信息对象 md_index
 * 
 * @author ruoyi
 * @date 2022-06-18
 */
public class MdIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private String idIndex;

    /** 根主键 */
    @Excel(name = "根主键")
    private String idIndexRoot;

    /** 系统 */
    @Excel(name = "系统")
    private String sdSys;
    /** 系统 */
    @Excel(name = "系统名称")
    private String naSys;

    /** 名称 */
    @Excel(name = "名称")
    private String na;

    /** 口径 */
    @Excel(name = "口径")
    private String instr;

    /** 口径 */
    @Excel(name = "计算公式")
    private String formula;

    /** 指标类型 */
    @Excel(name = "指标类型 0 原子指标,1 复合指标,2 子指标")
    private Integer euTp;

    /** 累加标志 */
    @Excel(name = "累加标志")
    private Integer fgAccu;

    /** 默认标志 */
    private Integer fgDef;

    @Excel(name = "启用标志")
    private Integer fgAct;

    @Excel(name = "指标后缀编码")
    private String cdSuffix;

    /** 备注 */
    @Excel(name = "备注")
    private String des;

    /** 根指标名称 */
    @Excel(name = "根指标名称")
    private String naIndexRoot;

    /** 值类型 */
    @Excel(name = "值类型")
    private String sdValtp;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /**  */
    private String naEmpCre;

    /**  */
    private Date dtSysCre;

    /**  */
    private String naEmpModi;

    /**  */
    private Date dtSysModi;

    public Integer getFgAct() {
        return fgAct;
    }

    public void setFgAct(Integer fgAct) {
        this.fgAct = fgAct;
    }

    public String getNaSys() {
        return naSys;
    }

    public void setNaSys(String naSys) {
        this.naSys = naSys;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public String getCdSuffix() {
        return cdSuffix;
    }

    public void setCdSuffix(String cdSuffix) {
        this.cdSuffix = cdSuffix;
    }

    public void setIdIndex(String idIndex)
    {
        this.idIndex = idIndex;
    }

    public String getIdIndex() 
    {
        return idIndex;
    }
    public void setIdIndexRoot(String idIndexRoot) 
    {
        this.idIndexRoot = idIndexRoot;
    }

    public String getIdIndexRoot() 
    {
        return idIndexRoot;
    }
    public void setSdSys(String sdSys) 
    {
        this.sdSys = sdSys;
    }

    public String getSdSys() 
    {
        return sdSys;
    }
    public void setNa(String na) 
    {
        this.na = na;
    }

    public String getNa() 
    {
        return na;
    }
    public void setInstr(String instr) 
    {
        this.instr = instr;
    }

    public String getInstr() 
    {
        return instr;
    }
    public void setEuTp(Integer euTp) 
    {
        this.euTp = euTp;
    }

    public Integer getEuTp() 
    {
        return euTp;
    }
    public void setFgAccu(Integer fgAccu) 
    {
        this.fgAccu = fgAccu;
    }

    public Integer getFgAccu() 
    {
        return fgAccu;
    }
    public void setFgDef(Integer fgDef) 
    {
        this.fgDef = fgDef;
    }

    public Integer getFgDef() 
    {
        return fgDef;
    }
    public void setDes(String des) 
    {
        this.des = des;
    }

    public String getDes() 
    {
        return des;
    }
    public void setNaIndexRoot(String naIndexRoot) 
    {
        this.naIndexRoot = naIndexRoot;
    }

    public String getNaIndexRoot() 
    {
        return naIndexRoot;
    }
    public void setSdValtp(String sdValtp) 
    {
        this.sdValtp = sdValtp;
    }

    public String getSdValtp() 
    {
        return sdValtp;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setNaEmpCre(String naEmpCre) 
    {
        this.naEmpCre = naEmpCre;
    }

    public String getNaEmpCre() 
    {
        return naEmpCre;
    }
    public void setDtSysCre(Date dtSysCre) 
    {
        this.dtSysCre = dtSysCre;
    }

    public Date getDtSysCre() 
    {
        return dtSysCre;
    }
    public void setNaEmpModi(String naEmpModi) 
    {
        this.naEmpModi = naEmpModi;
    }

    public String getNaEmpModi() 
    {
        return naEmpModi;
    }
    public void setDtSysModi(Date dtSysModi) 
    {
        this.dtSysModi = dtSysModi;
    }

    public Date getDtSysModi() 
    {
        return dtSysModi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("idIndex", getIdIndex())
            .append("idIndexRoot", getIdIndexRoot())
            .append("sdSys", getSdSys())
            .append("na", getNa())
            .append("instr", getInstr())
            .append("euTp", getEuTp())
            .append("fgAccu", getFgAccu())
            .append("fgDef", getFgDef())
            .append("des", getDes())
            .append("naIndexRoot", getNaIndexRoot())
            .append("sdValtp", getSdValtp())
            .append("unit", getUnit())
            .append("naEmpCre", getNaEmpCre())
            .append("dtSysCre", getDtSysCre())
            .append("naEmpModi", getNaEmpModi())
            .append("dtSysModi", getDtSysModi())
            .toString();
    }
}
